\hypertarget{vector__angle_8hh}{\section{src/nubot\-\_\-simulation/nubot\-\_\-gazebo/plugins/vector\-\_\-angle.hh File Reference}
\label{vector__angle_8hh}\index{src/nubot\-\_\-simulation/nubot\-\_\-gazebo/plugins/vector\-\_\-angle.\-hh@{src/nubot\-\_\-simulation/nubot\-\_\-gazebo/plugins/vector\-\_\-angle.\-hh}}
}
{\ttfamily \#include $<$gazebo/gazebo.\-hh$>$}\\*
{\ttfamily \#include $<$math.\-h$>$}\\*
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{vector__angle_8hh_a598a3330b3c21701223ee0ca14316eca}{P\-I}~3.\-14159265
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
double \hyperlink{vector__angle_8hh_a1b9926f16acb5f592b62a9432a01faaa}{get\-\_\-cos\-\_\-angle} (math\-::\-Vector3 vector1, math\-::\-Vector3 vector2)
\item 
double \hyperlink{vector__angle_8hh_a3f4b439e11cba4b39e181f4482aaf320}{get\-\_\-sin\-\_\-angle} (math\-::\-Vector3 reference\-\_\-vector, math\-::\-Vector3 target\-\_\-vector)
\item 
double \hyperlink{vector__angle_8hh_adcfcbae1bee7086c33410a71b2f2e729}{get\-\_\-angle\-\_\-\-P\-I} (math\-::\-Vector3 reference\-\_\-vector, math\-::\-Vector3 target\-\_\-vector)
\item 
double \hyperlink{vector__angle_8hh_ae998ba9cb6fe53aee83ee816110b4e4f}{get\-\_\-angle\-\_\-2\-P\-I} (math\-::\-Vector3 reference\-\_\-vector, math\-::\-Vector3 target\-\_\-vector)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\hypertarget{vector__angle_8hh_a598a3330b3c21701223ee0ca14316eca}{\index{vector\-\_\-angle.\-hh@{vector\-\_\-angle.\-hh}!P\-I@{P\-I}}
\index{P\-I@{P\-I}!vector_angle.hh@{vector\-\_\-angle.\-hh}}
\subsubsection[{P\-I}]{\setlength{\rightskip}{0pt plus 5cm}\#define P\-I~3.\-14159265}}\label{vector__angle_8hh_a598a3330b3c21701223ee0ca14316eca}


\subsection{Function Documentation}
\hypertarget{vector__angle_8hh_ae998ba9cb6fe53aee83ee816110b4e4f}{\index{vector\-\_\-angle.\-hh@{vector\-\_\-angle.\-hh}!get\-\_\-angle\-\_\-2\-P\-I@{get\-\_\-angle\-\_\-2\-P\-I}}
\index{get\-\_\-angle\-\_\-2\-P\-I@{get\-\_\-angle\-\_\-2\-P\-I}!vector_angle.hh@{vector\-\_\-angle.\-hh}}
\subsubsection[{get\-\_\-angle\-\_\-2\-P\-I}]{\setlength{\rightskip}{0pt plus 5cm}double get\-\_\-angle\-\_\-2\-P\-I (
\begin{DoxyParamCaption}
\item[{math\-::\-Vector3}]{reference\-\_\-vector, }
\item[{math\-::\-Vector3}]{target\-\_\-vector}
\end{DoxyParamCaption}
)}}\label{vector__angle_8hh_ae998ba9cb6fe53aee83ee816110b4e4f}
\hypertarget{vector__angle_8hh_adcfcbae1bee7086c33410a71b2f2e729}{\index{vector\-\_\-angle.\-hh@{vector\-\_\-angle.\-hh}!get\-\_\-angle\-\_\-\-P\-I@{get\-\_\-angle\-\_\-\-P\-I}}
\index{get\-\_\-angle\-\_\-\-P\-I@{get\-\_\-angle\-\_\-\-P\-I}!vector_angle.hh@{vector\-\_\-angle.\-hh}}
\subsubsection[{get\-\_\-angle\-\_\-\-P\-I}]{\setlength{\rightskip}{0pt plus 5cm}double get\-\_\-angle\-\_\-\-P\-I (
\begin{DoxyParamCaption}
\item[{math\-::\-Vector3}]{reference\-\_\-vector, }
\item[{math\-::\-Vector3}]{target\-\_\-vector}
\end{DoxyParamCaption}
)}}\label{vector__angle_8hh_adcfcbae1bee7086c33410a71b2f2e729}
\hypertarget{vector__angle_8hh_a1b9926f16acb5f592b62a9432a01faaa}{\index{vector\-\_\-angle.\-hh@{vector\-\_\-angle.\-hh}!get\-\_\-cos\-\_\-angle@{get\-\_\-cos\-\_\-angle}}
\index{get\-\_\-cos\-\_\-angle@{get\-\_\-cos\-\_\-angle}!vector_angle.hh@{vector\-\_\-angle.\-hh}}
\subsubsection[{get\-\_\-cos\-\_\-angle}]{\setlength{\rightskip}{0pt plus 5cm}double get\-\_\-cos\-\_\-angle (
\begin{DoxyParamCaption}
\item[{math\-::\-Vector3}]{vector1, }
\item[{math\-::\-Vector3}]{vector2}
\end{DoxyParamCaption}
)}}\label{vector__angle_8hh_a1b9926f16acb5f592b62a9432a01faaa}
\hypertarget{vector__angle_8hh_a3f4b439e11cba4b39e181f4482aaf320}{\index{vector\-\_\-angle.\-hh@{vector\-\_\-angle.\-hh}!get\-\_\-sin\-\_\-angle@{get\-\_\-sin\-\_\-angle}}
\index{get\-\_\-sin\-\_\-angle@{get\-\_\-sin\-\_\-angle}!vector_angle.hh@{vector\-\_\-angle.\-hh}}
\subsubsection[{get\-\_\-sin\-\_\-angle}]{\setlength{\rightskip}{0pt plus 5cm}double get\-\_\-sin\-\_\-angle (
\begin{DoxyParamCaption}
\item[{math\-::\-Vector3}]{reference\-\_\-vector, }
\item[{math\-::\-Vector3}]{target\-\_\-vector}
\end{DoxyParamCaption}
)}}\label{vector__angle_8hh_a3f4b439e11cba4b39e181f4482aaf320}
